using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;
using System.Diagnostics;

namespace BusinessStorage
{
    [DebuggerDisplay("[Id = {Id}; Name = {Name}]")]
    public class Enigma : TableServiceEntity,IEnigma
    {
        public Enigma(string postalcode, string country, Guid id)
            : base(postalcode + " _ " + country, id.ToString())
        {
            PostalCode = postalcode;
            Country = country;
            Id = id;
        }

        public String Address { get; set; }
        public Guid Id { get; set; }
        //public string Lat { get; set; }
        //public string Long { get; set; }
        public string Name { get; set; }
        public string Comments { get; set; }
        public string City { get; set; }
        public string Country { get; set; }
        public string PostalCode { get; set; }
        public double Longitude { get; set; }
        public double Latitude { get; set; }
        public bool IsFind { get; set; }
        public DateTime PostDate { get; set; }
        public Guid UserId { get; set; }
    }
}
